<template>
	<view class="cc-cell-list-wrap" :style="[style]">
		<text v-if="title" class="cc-cell__section-text" >{{title}}</text>
		<view class="cc-cell-list__content">
			<slot></slot>
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			borderRadius: {
				type: Number,
				default: 5
			},
			computed: {
				style() {
					return {
						borderRadius: this.borderRadius + '5rpx'
					}
				}
			},
			data() {
				return {
			
				};
			}
		}
	}
</script>

<style scoped>
	.cc-cell-list-wrap {
		/* #ifndef APP-NVUE */
		display: flex;
		/* #endif */
		flex-direction: column;
		background: #fff;
	}

	.cc-cell__section-text {
		font-size: 24rpx;
		color: #B6B6B6;
		margin-bottom: 30rpx;
	}

	.cc-cell-list__content {
		/* #ifndef APP-NVUE */
		display: flex;
		/* #endif */
		flex-direction: column;
		overflow: hidden;
		padding: 15rpx 30rpx;
	}
</style>